package com.sinosoft.perfect.system._.dao;

import java.sql.SQLException;

import com.sinosoft.perfect.common.system.BaseSqlSessionDaoSupport;
import com.sinosoft.perfect.system._.MapperSystem;
import com.sinosoft.perfect.system._.vo.UploadAttach;

public class UploadAttachDaoImpl  extends BaseSqlSessionDaoSupport implements IUploadAttachDao {

	private MapperSystem getMapperSystem(){
		return getSqlSession().getMapper(MapperSystem.class);
	}
	
	@Override
	public void deleteAttach(UploadAttach uploadAttach) throws SQLException {
		getMapperSystem().deleteAttach(uploadAttach);
	}

	@Override
	public void insertAttach(UploadAttach uploadAttach) throws SQLException {
		getMapperSystem().insertAttach(uploadAttach);
	}
}
